package com.netease.yanxuan.qa.yx.yuheng;

import org.mybatis.generator.api.ShellRunner;

/**
 * <Description> MyBatis代码生成器
 *
 * @author yanlu
 * @e-mail yanlu@u51.com
 * @date 2019/9/25 下午5:26
 */
public class MyBatisCodeGenerator {
    public static void main(String[] args) {
        String path = System.class.getResource("/generator-yanlu.xml").getPath();
        ShellRunner.main(new String[] {"-configfile", path, "-overwrite" });
    }
}